package cn.stu.projectsummit.comment.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class CommentSaveParam {
    @ApiModelProperty(value = "评论id")
    private Long id;
    @ApiModelProperty(value = "用户id")
    private Long userId;
    @ApiModelProperty(value = "评论所属帖子id")
    private Long blogId;
    @ApiModelProperty(value = "评论内容")
    private String content;
    @ApiModelProperty(value = "父评论id 如果是根评论则为null")
    private Long parentId;
    @ApiModelProperty(value = "评论时间")
    private Date createTime;

}
